package yhao.infra.feature.alipay.core.config;

import java.io.Serializable;

public class AliPayConfig implements Serializable {
    /**支付宝网关地址**/
    private String gateWay;

    /**通知回调地址前缀，用于拼装完整路径**/
    private String notifyUrlPre;

    /**支付宝分配给开发者的应用ID**/
    private String appId;

    /**如果该值为空，则默认为商户签约账号对应的支付宝用户ID**/
    private String sellerId;

    /**跳转的url，HTTP/HTTPS开头字符串**/
    private String returnUrl;

    /** 商户的私钥**/
    private String privateKey;

    /** 支付宝的公钥，无需修改该值**/
    private String publicKey;

    /** 字符编码格式 目前支持 gbk 或 utf-8**/
    private String charset = "utf-8";

    /**目前支持RSA2和RSA，推荐使用RSA2**/
    private String signType = "RSA2";

    public String getGateWay() {
        return gateWay;
    }

    public void setGateWay(String gateWay) {
        this.gateWay = gateWay;
    }

    public String getNotifyUrlPre() {
        return notifyUrlPre;
    }

    public void setNotifyUrlPre(String notifyUrlPre) {
        this.notifyUrlPre = notifyUrlPre;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }
}